let arr = [10, 20, 30, 40, 50]
const newArr = arr.unshift(5)
console.log(arr)//[5,10,20,30,40,50]
console.log(newArr)//6